<%@page import="db.LoginDB"%>
<%@page import="beans.AdminBean"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>





<jsp:include page="header.jsp"></jsp:include>
    
<%
    AdminBean curAdmin = LoginDB.currentAdmin;
%>
<div class="wrapper row-offcanvas row-offcanvas-left">
    <!-- Left side column. contains the logo and sidebar -->
    <jsp:include page="sidebar.jsp"></jsp:include>

        <!-- Right side column. Contains the navbar and content of the page -->
        <aside class="right-side">                
            <!-- Content Header (Page header) -->
            <section class="content-header">
                <h1>
                    <%=curAdmin.getAd_Fullname() %> 's Profile
                    <small><%=curAdmin.getRole_Name() %></small>
                </h1>
                <ol class="breadcrumb">
                    <li><a href="dashboard.jsp"><i class="fa fa-dashboard"></i> Home</a></li>
                    <li class="active">Profile</li>
                </ol>
            </section>

            <!-- Main content -->
            <section class="content">
                <div class="row">
                    <!-- left column -->
                    <div class="col-md-6">
                        <!-- general form elements disabled -->
                        <div class="box box-warning">
                            <div class="box-header">
                                <h3 class="box-title">General Information</h3>
                            </div><!-- /.box-header -->
                            <div class="box-body">
                                <form role="form">
                                    <!-- fullname input -->
                                    <div class="form-group">
                                        <label>Fullname</label>
                                        <div class="input-group">
                                            <div class="input-group-addon">
                                                <i class="fa fa-laptop"></i>
                                            </div>
                                            <input type="text" class="form-control" data-inputmask="'alias': 'fullname'" data-mask="" disabled  value="<%=curAdmin.getAd_Fullname()%>"   />
                                        </div><!-- /.input group -->
                                    </div>

                                    <!-- fullname input -->
                                    <div class="form-group">
                                        <label>Phone</label>
                                        <div class="input-group">
                                            <div class="input-group-addon">
                                                <i class="fa fa-laptop"></i>
                                            </div>
                                            <input type="text" class="form-control" data-inputmask="'alias': 'phone'" data-mask="" disabled  value="<%=curAdmin.getAd_Phone()%>"   />
                                        </div><!-- /.input group -->
                                    </div>
                                        
                                    <!-- fullname input -->
                                    <div class="form-group">
                                        <label>Email</label>
                                        <div class="input-group">
                                            <div class="input-group-addon">
                                                <i class="fa fa-laptop"></i>
                                            </div>
                                            <input type="text" class="form-control" data-inputmask="'alias': 'email'" data-mask="" disabled  value="<%=curAdmin.getAd_Email()%>"   />
                                        </div><!-- /.input group -->
                                    </div>
                                        
                                </form>
                        </div><!-- /.box-body -->
                    </div><!-- /.box -->
                </div><!--/.col (left) -->
                <!-- right column -->



                <div class="col-md-6">
                    <!-- general form elements -->
                    <div class="box box-primary">
                        <div class="box-header">
                            <h3 class="box-title">Change password</h3>
                        </div><!-- /.box-header -->
                        <!-- form start -->
                        <form role="form">
                            <div class="box-body">
                                <div class="form-group">
                                    <label for="oldPassword">Old password</label>
                                    <input type="password" class="form-control" id="oldPassword" placeholder="Enter old pasword">
                                </div>
                                <div class="form-group">
                                    <label for="newPassword">New password</label>
                                    <input type="password" class="form-control" id="newPassword" placeholder="Enter new pasword">
                                </div>
                                <div class="form-group">
                                    <label for="confirmPassword">Confirm password</label>
                                    <input type="password" class="form-control" id="confirmPassword" placeholder="Confirm new  pasword">
                                </div>

                            </div><!-- /.box-body -->

                            <div class="box-footer">
                                <button type="submit" class="btn btn-primary">Submit</button>
                            </div>
                        </form>
                    </div><!-- /.box -->
                    <div class="box box-primary">
                        <div class="box-header">
                            <h3 class="box-title">Change Avatar</h3>
                        </div><!-- /.box-header -->
                        <!-- form start -->
                        <form role="form">
                            <div class="box-body">

                                <div class="form-group">
                                    <label for="exampleInputFile">File input</label>
                                    <input type="file" id="exampleInputFile">
                                    <p class="help-block">Example block-level help text here.</p>
                                </div>

                            </div><!-- /.box-body -->

                            <div class="box-footer">
                                <button type="submit" class="btn btn-primary">Submit</button>
                            </div>
                        </form>
                    </div><!-- /.box -->



                </div><!--/.col (right) -->
            </div>   <!-- /.row -->
        </section><!-- /.content -->
    </aside><!-- /.right-side -->
</div><!-- ./wrapper -->


<script src="js/pages/profile.js" type="text/javascript"></script>
<jsp:include page="footer.jsp"></jsp:include>
    